<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
			var b = 1;
			var a = 2;
			var re = (10>20) && (b=2);//短路
			
			console.log(b,re);
			
			var re = (1>2) || (b=3);
			console.log(re,b);
			
			
			
			
			
		</script>
	</body>
</html>
